package com.forum.service.rank.consts;


import java.util.concurrent.TimeUnit;

/**
 * @author lbwxxc
 * @date 2025/4/6 20:42
 * @description: 常量类
 */
public class Const {
    // 用户校验幂等的过期时间
    public static final int RANK_KEY_EXPIRE_TIME = 24;
    public static final TimeUnit RANK_KEY_EXPIRE_TIME_UNIT = TimeUnit.HOURS;
    // redis 中的用户活跃度排行榜
    public static final String RANK_KEY = "ranking";
}
